import {request} from "../../uilts/requests.ts";

// 查询学生试卷
export function queryStudentPaper(data: any) {
    return request({
        url: '/query/student/paper',
        method: 'post',
        data: data
    })
}


// 修改学生试卷
export function updateStudentPaper(data: any) {
    return request({
        url: '/update/student/paper',
        method: 'put',
        data: data
    })
}

// 新增学生试卷
export function saveStudentPaper(data: any) {
    return request({
        url: '/save/new/student/paper',
        method: 'post',
        data: data
    })
}

// 删除学生试卷
export function deleteStudentPaper(data: String) {
    return request({
        url: `/delete/student/paper/${data}`,
        method: 'delete',
    })
}